import myaxios from '../MyAxios'
import BASEURL from '../BaseUrl'
const { BMDURL } = BASEURL

const noteApi = {
  /**
   * 删除相应ID的攻略
   * @param {Object} params  {sid: 攻略ID}
   */
  delete(params) {
    return myaxios.get(BMDURL + `/users/delstrategy/${params}`)
  },

  list(params) {
    return myaxios.get(BMDURL + '/users/addstrategy/list', params)
  },

  queryByNameLike(params) {
    return myaxios.post(BMDURL + '/users/addstrategy/name', params)
  },

  mohu(params){
    return myaxios.post(BMDURL + '/users/addstrategy/mohu',params)
  }
}
export default noteApi
